package com.itheima.edu.info.manager.entry;

import com.itheima.edu.info.manager.controller.StudentController;

import java.util.Scanner;

public class StudentManager {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        StudentController studentController=new StudentController();
        while (true) {
         System.out.println("---------学校信息管理系统--------");
         System.out.println("1.学生信息   2.老师信息   3.退出");
         System.out.println("请输入您的选择：");
            switch (sc.next()) {
             case "1":
                 studentController.start();
                // System.out.println("学生信息");
                 break;
             case "2":
                 System.out.println("老师信息");
                 break;
             case "3":
                 System.out.println("感谢您的使用");
                 break;
             default:
                 System.out.println("您的输入有误！");
                 break;
         }
     }
    }
}
